Optimal. Leaf size=67 \[ \frac{1}{2} A x \sqrt{a+c x^2}+\frac{a A \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{a+c x^2}}\right )}{2 \sqrt{c}}+\frac{B \left (a+c x^2\right )^{3/2}}{3 c} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0490774, antiderivative size = 67, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.235 \[ \frac{1}{2} A x \sqrt{a+c x^2}+\frac{a A \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{a+c x^2}}\right )}{2 \sqrt{c}}+\frac{B \left (a+c x^2\right )^{3/2}}{3 c} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)*Sqrt[a + c*x^2],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 6.80179, size = 58, normalized size = 0.87 \[ \frac{A a \operatorname{atanh}{\left (\frac{\sqrt{c} x}{\sqrt{a + c x^{2}}} \right )}}{2 \sqrt{c}} + \frac{A x \sqrt{a + c x^{2}}}{2} + \frac{B \left (a + c x^{2}\right )^{\frac{3}{2}}}{3 c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(c*x**2+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0502834, size = 67, normalized size = 1. \[ \frac{\sqrt{a+c x^2} (2 a B+c x (3 A+2 B x))+3 a A \sqrt{c} \log \left (\sqrt{c} \sqrt{a+c x^2}+c x\right )}{6 c} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)*Sqrt[a + c*x^2],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 53, normalized size = 0.8 \[{\frac{Ax}{2}\sqrt{c{x}^{2}+a}}+{\frac{aA}{2}\ln \left ( \sqrt{c}x+\sqrt{c{x}^{2}+a} \right ){\frac{1}{\sqrt{c}}}}+{\frac{B}{3\,c} \left ( c{x}^{2}+a \right ) ^{{\frac{3}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(c*x^2+a)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^2 + a)*(B*x + A),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.309551, size = 1, normalized size = 0.01 \[ \left [\frac{3 \, A a c \log \left (-2 \, \sqrt{c x^{2} + a} c x -{\left (2 \, c x^{2} + a\right )} \sqrt{c}\right ) + 2 \,{\left (2 \, B c x^{2} + 3 \, A c x + 2 \, B a\right )} \sqrt{c x^{2} + a} \sqrt{c}}{12 \, c^{\frac{3}{2}}}, \frac{3 \, A a c \arctan \left (\frac{\sqrt{-c} x}{\sqrt{c x^{2} + a}}\right ) +{\left (2 \, B c x^{2} + 3 \, A c x + 2 \, B a\right )} \sqrt{c x^{2} + a} \sqrt{-c}}{6 \, \sqrt{-c} c}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^2 + a)*(B*x + A),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 7.52247, size = 70, normalized size = 1.04 \[ \frac{A \sqrt{a} x \sqrt{1 + \frac{c x^{2}}{a}}}{2} + \frac{A a \operatorname{asinh}{\left (\frac{\sqrt{c} x}{\sqrt{a}} \right )}}{2 \sqrt{c}} + B \left (\begin{cases} \frac{\sqrt{a} x^{2}}{2} & \text{for}\: c = 0 \\\frac{\left (a + c x^{2}\right )^{\frac{3}{2}}}{3 c} & \text{otherwise} \end{cases}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(c*x**2+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.274613, size = 74, normalized size = 1.1 \[ -\frac{A a{\rm ln}\left ({\left | -\sqrt{c} x + \sqrt{c x^{2} + a} \right |}\right )}{2 \, \sqrt{c}} + \frac{1}{6} \, \sqrt{c x^{2} + a}{\left ({\left (2 \, B x + 3 \, A\right )} x + \frac{2 \, B a}{c}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^2 + a)*(B*x + A),x, algorithm="giac")
[Out]